<?php if (!defined('THINK_PATH')) exit();?>
<!doctype html>
<html>
        <head>
                <meta charset="UTF-8">
                <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
                <title>系统后台 - 康和 - by thkCMS</title>
                <link href="/statics/css/admin_style.css" rel="stylesheet" />
                <link href="/statics/js/artDialog/skins/default.css" rel="stylesheet" />
        
<script type="text/javascript">
//全局变量
        var GV = {
                DIMAUB: "http://n.com/",
                JS_ROOT: "statics/js/",
        };
</script>
<script src="/statics/js/wind.js"></script>
<script src="/statics/js/jquery.js"></script>
</head>
<body class="J_scroll_fixed">
        <div class="wrap J_check_wrap">
                
<div class="nav">
        <ul class="cc">
                <?php $submenus = include './submenu.php'; $type = I("get.menutype",MODULE_NAME); ?>  
                <?php foreach($submenus[$type] as $r){ $class = ($r['action'] == ACTION_NAME) ? 'class="current"':""; ?>
                <li <?php echo ($class); ?>><a href="<?php echo U($r['url'],array('menuid'=>$_GET['menuid']));?>"><?php echo ($r["title"]); ?></a></li>
                <?php
 }?>

        </ul>
</div>
                <div class="h_a">搜索</div>
<div class="search_type cc mb10">
        <form action="" method="post">

                <div class="search_type cc ">

                        <span class='home_info'>关键词:</span>
                        <input type="text" class="input length_3" name="where[name]" value="<?php echo ($_POST['where']['name']); ?>" placeholder="请输入关键字...">
                        <span class='home_info'>状态:</span><label><input type="radio" name="where[status]" value="1" /> 显示</label> <label><input type="radio" name="where[status]" value="0" /> 隐藏 </label>
                        <span class='home_info'> 时间段:</span><select name="_selectType">
                                <option value='-1'>=请选择=</option>
                                <option value='0'>=创建时间=</option>
                                <option value='1'>=修改时间=</option>
                        </select>
                        <input type="text" name="_start"  class="input length_2 J_datetime">
                        <input type="text" name="_end"  class="input length_2 J_datetime">
                        <button class="btn">搜索</button>

                </div>
        </form>
</div>

<form name="myform" action="<?php echo U('delete');?>" method="post" class="J_ajaxForm">
        <div class="table_list">
                <table width="100%" cellspacing="0">
                        <thead>
                                <tr>
                                        <td width="10"><input type="checkbox" class="J_check_all" data-direction="x" data-checklist="J_check_x"></td>
                                        <td width="30"  align="center">ID</td>
                                        <td width="120">专家姓名</td>
                                        <td width="120">职称</td>
                                        <td>简介</td>
                                        <td width="80" align="center">状态</td>
                                        <td width="120">创建时间</td>
                                        <td width="120">修改时间</td>
                                        <td width="120" align="right">管理操作</td>

                                </tr>
                        </thead>
                        <tbody>
                        <?php $page = $this->get("pageef3b99206b39ac2149f05f98aa401734");$_resule = $this->get('ef3b99206b39ac2149f05f98aa401734');if ($_resule): $key=0;foreach($_resule as $key=>$list):++$key;$mod = ($key % 2 );?><tr>
                                        <td><input type="checkbox" class="J_check" data-yid="J_check_y" data-xid="J_check_x"  value="<?php echo ($list["id"]); ?>" name="ids[]"></td>
                                        <td align="center"><?php echo ($list["id"]); ?></td>
                                        <td><?php echo ($list["name"]); ?></td>
                                        <td><?php echo ($list["position"]); ?></td>
                                        <td><?php echo ($list["descrip"]); ?></td>
                                        <td align="center"><?php if(empty($list["status"])): ?>隐藏<?php else: ?>显示<?php endif; ?></td>
                                <td><?php echo (todate($list["input_time"])); ?></td>
                                <td><?php echo (todate($list["modified_time"])); ?></td>
                                <td align="right"><a href="<?php echo U('edit',array('id'=>$list['id']));?>">查看/修改信息</a> | <a href="<?php echo U('delete',array('id'=>$list['id']));?>" class='J_ajax_del'>删除</a></td>
                                </tr><?php endforeach; endif;?>
                        </tbody>
                </table>
                <?php if(!empty($page)): ?><div class="p10">
                                <div class="pages"> <?php echo ($page); ?> </div>
                        </div><?php endif; ?>
        </div>
        <div class="">
                <div class="btn_wrap_pd">
                        <button class="btn  mr10 J_ajax_submit_btn" type="submit">删除</button>
                </div>
        </div>
</from>
        </div>
        <script src="/statics/js/common.js?v"></script>
        <script type="text/javascript" src="/statics/js/content_addtop.js"></script>

</body>
</html>